#!/usr/local/python36/bin/python3.6

redis_ip = "127.0.0.1"  #redis 的ip地址
redis_port = 6379 #redis 的端口

mysql_ip = "127.0.0.1" #zabbix 的mysql地址
mysql_port = 3306
mysql_user = "zabbix"
mysql_pwd = "xiyou2018"
mysql_db = "zabbix"
actionid = ["3"]   #zabbix db   select  actionid,name from actions;通过查找到对应的actionid值
send_to_users_0 = ["411876027@qq.com","2367216930@qq.com"]  #告警用户邮箱, send_to_users_<num> 从0开始，0对应actionid列表中的第一个值,依次类推
# send_to_users_1 = ["411876027@qq.com","2367216930@qq.com"]

slack_status = 1 #是否使用slack报警，值为1|0，1表示使用
slack_webhook = ["https://hooks.slack.com/services/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sdfasdfweTyl"]

email_status = 1 #是否使用邮件报警，值为1|0，1表示使用

recevier_server_smtp = "smtp.exmail.qq.com" #发送者邮箱服务器
recevier_user = "yueping.yuan@yxorange.com"  #发送者邮箱帐号
recevier_pwd = "asdfasdfasdf"

weixin_status = 1 #是否使用企业微信报警，值为1|0，1表示使用
weixin_webhook = ["https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=deac9049-79cd-4167-b3ed-830336883240sadfasddfasdf",]


''''
#pip install pymysql
#pip install redis
#pip install requests


'''